package org.aeon.message.request;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serial;

/**
 * @author MissingAeon
 * @date 2024/1/26 8:46
 * @description
 */
@Getter
@Setter
@ToString
public class GroupQuitRequestMessage extends RequestMessage {
    @Serial
    private static final long serialVersionUID = 3733117334355106266L;
    private Long userId;
    private Long groupId;

    public void setMessage(Long userId, Long groupId) {
        this.groupId = groupId;
        this.userId = userId;
    }

    @Override
    public int getMessageType() {
        return GroupQuitRequestMessage;
    }
}
